<include file="Public/header"/>

<div id="app">
    <!-- sidebar -->
    <include file="Public/left"/>
    <!-- / sidebar -->
    <div class="app-content">
        <!-- start: TOP NAVBAR -->
        <include file="Public/headernav"/>
        <!-- end: TOP NAVBAR -->
        <div class="main-content" >
            <div class="wrap-content container" id="container">
                <!-- start: PAGE TITLE -->
                <section id="page-title">
                    <div class="row">
                        <div class="col-sm-8">
                            <h1 class="mainTitle">会员登录记录</h1>
                            <span class="mainDescription"></span>
                        </div>
                        <!-- <ol class="breadcrumb">
                            <li>
                                <span>Pages</span>
                            </li>
                            <li class="active">
                                <span>Blank Page</span>
                            </li>
                        </ol> -->
                    </div>
                </section>
                <!-- end: PAGE TITLE -->
                <!-- start: YOUR CONTENT HERE -->
                <div class="row">
                    <div class="col-lg-12 col-md-12 margin-top-20" >
                        <div class="panel panel-white">
                            <div class="panel-heading">
                                <h5 class="panel-title">筛选</h5>
                            </div>
                            <form role="form" class="form-inline">
                                <div class="panel-body">
                                    <div class="form-group">
                                        <label for="mobile" class="sr-only">
                                            会员卡号
                                        </label>
                                        <input type="text" name="member_card" value="{$_GET.member_card}" id="member_card" placeholder="会员卡号" class="form-control">
                                    </div>
                                    <div class="form-group">

                                        <label for="member_name" class="sr-only">
                                            昵称
                                        </label>
                                        <input type="text" name="member_name" value="{$_GET.member_name}" id="member_name" placeholder="昵称" class="form-control">

                                    </div>
                                    <div class="form-group">

                                        <label for="mobile" class="sr-only">
                                            电话
                                        </label>
                                        <input type="text" name="mobile" value="{$_GET.mobile}" id="mobile" placeholder="电话" class="form-control">

                                    </div><br/>
                                    <!--<div class="form-group">-->
                                        <!--<label for="type" class="sr-only">-->
                                            <!--登录类型-->
                                        <!--</label>-->
                                        <!--<select class="form-control" id="type" name="type">-->
                                            <!--<option value="0" >全部</option>-->
                                            <!--<option value="1" <if condition="$_GET['type'] == '1'">selected</if> >wap</option>-->
                                            <!--<option value="2" <if condition="$_GET['type'] == '2'">selected</if> >pc</option>-->
                                            <!--<option value="3" <if condition="$_GET['type'] == '3'">selected</if> >ios</option>-->
                                            <!--<option value="4" <if condition="$_GET['type'] == '4'">selected</if> >安卓</option>-->

                                        <!--</select>-->
                                    <!--</div>-->
                                    <div class="form-group">
                                        <label for="add_time" class="sr-only">
                                            状态
                                        </label>
                                        <p class="input-group input-append datepicker date">
                                            <input type="text" class="form-control" name="add_time" value="{$_GET['add_time']}" placeholder="登录时间"/>
                                              <span class="input-group-btn">
                                            <button type="button" class="btn btn-default">
                                                <i class="glyphicon glyphicon-calendar"></i>
                                            </button> </span>
                                        </p>
                                        --
                                        <p class="input-group input-append datepicker date">
                                            <input type="text" class="form-control" name="end_time" value="{$_GET['end_time']}" placeholder="登录时间"/>
                                            <span class="input-group-btn">
                                            <button type="button" class="btn btn-default">
                                                <i class="glyphicon glyphicon-calendar"></i>
                                            </button> </span>
                                        </p>

                                    </div>
                                    &nbsp;
                                    <button class="btn btn-primary" type="submit">
                                        提交
                                    </button>
   </div>
  </form>
</div>
                    </div>
                </div>

                <table class="table table-hover" id="sample-table-1">
                    <thead>
                    <tr>
                        <th class="center">会员卡号</th>
                        <th class="center">昵称</th>
                        <th class="center">电话</th>
                        <th>登录时间</th>
                        <th class="hidden-xs">登录IP</th>
                        <th>登录类型</th>
                    </tr>
                    </thead>
                    <tbody>
                    <foreach  name="data['list']" item='vo'>
                        <tr>
                            <td class="center">{$vo.member_card}</td>
                            <td class="center"> {$vo.member_name}</td>
                            <td class="center">{$vo.mobile}</td>
                            <td>{$vo.login_time|date="Y-m-d",###}</td>
                            <td></td>
                            <td></td>
                        </tr>
                    </foreach>

                    </tbody>
                </table>
              
 <div class="col-md-12 pages" align="center">{$list['page']|default='暂无数据'}</div>

                <!-- end: YOUR CONTENT HERE -->
            </div>
        </div>
    </div>
    <!--  FOOTER and SETTINGS -->

    <include file="Public/footer"/>
    <!-- end: FOOTER -->
    <!-- start: OFF-SIDEBAR -->

    <!-- end: OFF-SIDEBAR -->

</div>
<!-- start: MAIN JAVASCRIPTS -->

<include file="Public/javascript"/>
<include file="Public/javascript_datepicker"/>

</body>
</html>
